package priv.books.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import priv.books.pojo.Sale;

import java.util.List;
import java.util.Map;

public interface SaleMapper extends BaseMapper<Sale> {

    /**
     * 查询书籍销量
     * @param sale
     * @return
     */
    List<Map<String, Object>> getBooksSale(Sale sale);
}